package com.zktr.bean;

public class TestBean {
	public String typeid;
	public String typename;
	public String enabled;
	public String attrgroup;
	public String attrid;
	public String attrname;
	public String attrtype;
	public String attrvalues;
	public String attrindex;
	public String sortorder;
	public String islinked;
	public String getTypeid() {
		return typeid;
	}
	public void setTypeid(String typeid) {
		this.typeid = typeid;
	}
	public String getTypename() {
		return typename;
	}
	public void setTypename(String typename) {
		this.typename = typename;
	}
	public String getEnabled() {
		return enabled;
	}
	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}
	public String getAttrgroup() {
		return attrgroup;
	}
	public void setAttrgroup(String attrgroup) {
		this.attrgroup = attrgroup;
	}
	public String getAttrid() {
		return attrid;
	}
	public void setAttrid(String attrid) {
		this.attrid = attrid;
	}
	public String getAttrname() {
		return attrname;
	}
	public void setAttrname(String attrname) {
		this.attrname = attrname;
	}
	public String getAttrtype() {
		return attrtype;
	}
	public void setAttrtype(String attrtype) {
		this.attrtype = attrtype;
	}
	public String getAttrvalues() {
		return attrvalues;
	}
	public void setAttrvalues(String attrvalues) {
		this.attrvalues = attrvalues;
	}
	public String getAttrindex() {
		return attrindex;
	}
	public void setAttrindex(String attrindex) {
		this.attrindex = attrindex;
	}
	public String getSortorder() {
		return sortorder;
	}
	public void setSortorder(String sortorder) {
		this.sortorder = sortorder;
	}
	public String getIslinked() {
		return islinked;
	}
	public void setIslinked(String islinked) {
		this.islinked = islinked;
	}
	public TestBean(String typeid, String typename, String enabled, String attrgroup, String attrid, String attrname,
			String attrtype, String attrvalues, String attrindex, String sortorder, String islinked) {
		super();
		this.typeid = typeid;
		this.typename = typename;
		this.enabled = enabled;
		this.attrgroup = attrgroup;
		this.attrid = attrid;
		this.attrname = attrname;
		this.attrtype = attrtype;
		this.attrvalues = attrvalues;
		this.attrindex = attrindex;
		this.sortorder = sortorder;
		this.islinked = islinked;
	}
	@Override
	public String toString() {
		return "TestBean [typeid=" + typeid + ", typename=" + typename + ", enabled=" + enabled + ", attrgroup="
				+ attrgroup + ", attrid=" + attrid + ", attrname=" + attrname + ", attrtype=" + attrtype
				+ ", attrvalues=" + attrvalues + ", attrindex=" + attrindex + ", sortorder=" + sortorder + ", islinked="
				+ islinked + "]";
	}
	public TestBean() {

	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((attrgroup == null) ? 0 : attrgroup.hashCode());
		result = prime * result + ((attrid == null) ? 0 : attrid.hashCode());
		result = prime * result + ((attrindex == null) ? 0 : attrindex.hashCode());
		result = prime * result + ((attrname == null) ? 0 : attrname.hashCode());
		result = prime * result + ((attrtype == null) ? 0 : attrtype.hashCode());
		result = prime * result + ((attrvalues == null) ? 0 : attrvalues.hashCode());
		result = prime * result + ((enabled == null) ? 0 : enabled.hashCode());
		result = prime * result + ((islinked == null) ? 0 : islinked.hashCode());
		result = prime * result + ((sortorder == null) ? 0 : sortorder.hashCode());
		result = prime * result + ((typeid == null) ? 0 : typeid.hashCode());
		result = prime * result + ((typename == null) ? 0 : typename.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TestBean other = (TestBean) obj;
		if (attrgroup == null) {
			if (other.attrgroup != null)
				return false;
		} else if (!attrgroup.equals(other.attrgroup))
			return false;
		if (attrid == null) {
			if (other.attrid != null)
				return false;
		} else if (!attrid.equals(other.attrid))
			return false;
		if (attrindex == null) {
			if (other.attrindex != null)
				return false;
		} else if (!attrindex.equals(other.attrindex))
			return false;
		if (attrname == null) {
			if (other.attrname != null)
				return false;
		} else if (!attrname.equals(other.attrname))
			return false;
		if (attrtype == null) {
			if (other.attrtype != null)
				return false;
		} else if (!attrtype.equals(other.attrtype))
			return false;
		if (attrvalues == null) {
			if (other.attrvalues != null)
				return false;
		} else if (!attrvalues.equals(other.attrvalues))
			return false;
		if (enabled == null) {
			if (other.enabled != null)
				return false;
		} else if (!enabled.equals(other.enabled))
			return false;
		if (islinked == null) {
			if (other.islinked != null)
				return false;
		} else if (!islinked.equals(other.islinked))
			return false;
		if (sortorder == null) {
			if (other.sortorder != null)
				return false;
		} else if (!sortorder.equals(other.sortorder))
			return false;
		if (typeid == null) {
			if (other.typeid != null)
				return false;
		} else if (!typeid.equals(other.typeid))
			return false;
		if (typename == null) {
			if (other.typename != null)
				return false;
		} else if (!typename.equals(other.typename))
			return false;
		return true;
	}
	
	
	
}
